﻿#region [===== Using =====]
using System;
using Microsoft.SharePoint;
#endregion

namespace TPG.SharePoint.Workflow
{
    /// <summary>
    /// Represents the metadata provided by the instantiation page.
    /// </summary>
    public class InstantiationMetaData
        : ConfigurationMetaData
    {
        #region [===== Properties =====]
        /// <summary>
        /// Gets the title of the list item for which the instantiation
        /// page is displayed.
        /// </summary>
        public string InstantiationTargetName { get; internal set; }

        /// <summary>
        /// Gets the <see cref="SPListItem" /> that the workflow instance is 
        /// operating on.
        /// <summary>
        public SPListItem ListItem
        {
            get;
            internal set;
        }
        #endregion
    }
}
